<template>
	<view class="meeting-field app-pages">
		<view class="cell">
			<view class="cell-item" @click="handleRouter(1)">
				<u--image showLoading="true"
				src="https://cdn.uviewui.com/uview/swiper/swiper1.png"
				 width="280rpx" height="240rpx"></u--image>
				 <view class="cell-item-text">
					 <view class="title">婚礼场地</view>
					 <view class="content">美国马里兰州的Kate Dear去年买下了位于弗雷德里克市中心的一家空置了7年的银行,并将其改造成为婚礼场地。</view>
				 </view>
			</view>
			
			<view class="cell-item" @click="handleRouter(2)">
				<u--image showLoading="true"
				src="https://cdn.uviewui.com/uview/swiper/swiper1.png"
				 width="280rpx" height="240rpx"></u--image>
				 <view class="cell-item-text">
					 <view class="title">会议室内</view>
					 <view class="content">美国马里兰州的Kate Dear去年买下了位于弗雷德里克市中心的一家空置了7年的银行,并将其改造成为婚礼场地。</view>
				 </view>
			</view>
		</view>
	</view>
</template>
<script>
export default {
	data(){
		return {}
	},
	methods:{
		handleRouter(state){
			if(state == 1){
				uni.navigateTo({
					url:"/homePages/meetingField/field/index"
				})
			}
			if(state == 2){
				uni.navigateTo({
					url:"/homePages/meetingField/meeting/index"
				})
			}
		}
	}
}
</script>

<style lang="scss" scoped>
	.meeting-field{
		.cell{
			.cell-item{
				display: flex;
				padding: 20rpx;
				border-radius: 10rpx;
				box-shadow: 0px 0px 4px #cccccc;
				margin-top: 10rpx;
				.cell-item-text{
					margin-left: 40rpx;
					.title{
						font-size: 32rpx;
						font-weight: bold;
					}
					.content{
						margin-top: 10rpx;
					}
				}
			}
		}
	}
	
</style>